﻿
using System.Collections.Generic;
namespace PersonProject
{
    public class iDS
    {
        public string path = "";
        public iDS Next = null;

        public void SetParam(string param)
        {
            path = param;
        }

        public virtual iDS isReady(string str)
        {
            return null;
        }

        public virtual void Delete(int ID)
        {
        }
        public virtual List<Person> Load()
        {
            return null;
        }
        public virtual void Update(int ID, string Field, string Value)
        {
        }

        public virtual void Create(Person P)
        {
        }

        public virtual Person Read(int ID)
        {
            return null;
        }

        public virtual void Update(Person p)
        {

        }
        public virtual void Start(iDS ds)
        {

        }
        public virtual void Stop()
        {

        }
    }
}
